package com.w2cx.selenium.testCase;

import org.testng.Assert;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;

public class testMarkLibraryManage extends CaseBase {

    @Test
    @Parameters({"markName"})
    //测试添加标签
    public void testAddMark(String markName){

        mlmp.addMark(markName);

        //断言
        Assert.assertTrue(mlmp.addMarkSuccess(markName),"添加标签失败！");
        System.out.println("添加标签成功！");
    }

    @Test
    @Parameters({"markName"})
    //删除
    public void testDelMark(String markName){

        mlmp.delMark(markName);
        //
        Assert.assertTrue(mlmp.delMarkSuccess(markName),"删除标签失败！");
        System.out.println("删除标签成功！");
    }



}
